OTP\Handler\Forms\FormCraftBasicForm A

Total Complexity 56
Dependencies 7
Dependents 0
Total lines 303
Lines of code 209
Logical lines of code 123
Comment lines 0
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
validate_formcraft_form_submit()
A
48 8 33
handleFormOptions()
S
51 7 25
getFieldIDs()
S
58 6 13
handleForm()
S
57 4 15
routeData()
S
63 4 10
checkIfVerificationNotStarted()
S
61 3 13
enqueue_script_on_page()
S
56 2 18
getPhoneNumberSelector()
S
70 3 6
_handle_formcraft_form()
S
65 3 8
_send_otp_to_phone()
S
63 3 10
_send_otp_to_email()
S
63 3 10
handle_failed_verification()
S
65 2 8
isFormCraftPluginInstalled()
S
78 2 3
__construct()
S
60 1 13
sendJSONErrorMessage()
S
70 1 6
unsetOTPSessionVariables()
S
71 1 6
handle_post_verification()
S
80 1 3
isVerificationEnabledForThisForm()
S
80 1 3
getFormCraftFormDataFromID()
S
69 1 6